using System.Data;
using VanTaiData;
using VanTaiProperty;

namespace VanTaiBLL
{
    public class ClsTmUnitBusiness
    {
        public static ClsTmUnitController Cls = new ClsTmUnitController();

        #region Getdata
        public DataTable BindGirdTmUnit(string keywords)
        {
            return Cls.BindGirdTmUnit(keywords);
        }
        public DataTable BindGirdTmUnitDetail(int id)
        {
            return Cls.BindGirdTmUnitDetail(id);
        }
        #endregion

        #region Insert
        public static bool InsertTmUnit(ClsTmUnitProperty obj)
        {
            return Cls.InsertTmUnit(obj);
        }
        #endregion

        #region Update
        public static bool UpdateTmUnit(ClsTmUnitProperty obj)
        {
            return Cls.UpdateTmUnit(obj);
        }
        #endregion

        #region Delete
        public static bool DeleteTmUnit(int id)
        {
            return Cls.DeleteTmUnit(id);
        }
        public bool TMUnit_Check_Delete_TMDO(int id)
        {
            return Cls.TMUnit_Check_Delete_TMDO(id);
        }
        #endregion
    }
}